<template>
  <el-input v-bind="$attrs" @blur="handleBlur" @input="handleInput"></el-input>
</template>

<script>
export default {
  name: "TenantSelect",
  inheritAttrs: true,
  props: {},
  data() {
    return {};
  },
  computed: {},
  methods: {
    handleInput(value) {
      this.$emit("input", value);
    },
    handleBlur() {
      // TODO: 匹配生成后，将匹配的数据通知父组件
      this.$emit("confirm", { a: "1", b: "22" });
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped></style>
